package entity;

import java.util.Date;

public class User {
    private Integer userId;

    private String userName;

    private String password;

    private String email;

    private String tel;

    private Integer valid;

    private Date createTime;

    private String shoppingAddress;

    public User(Integer userId, String userName, String password, String email, String tel, Integer valid, Date createTime, String shoppingAddress) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.email = email;
        this.tel = tel;
        this.valid = valid;
        this.createTime = createTime;
        this.shoppingAddress = shoppingAddress;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getShoppingAddress() {
        return shoppingAddress;
    }

    public void setShoppingAddress(String shoppingAddress) {
        this.shoppingAddress = shoppingAddress;
    }
}
